package com.evenmo.pojo;

import java.io.Serializable;

public class Student implements Serializable{

	private Integer id;
	private String name;
	private String sex;
	private Integer age;
	private Integer clazzId;
	private Integer dataFlag;
	private Clazz clazz;
	public Student(String name, String sex, Integer age, Integer clazzId, Integer dataFlag, Clazz clazz) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.clazzId = clazzId;
		this.dataFlag = dataFlag;
		this.clazz = clazz;
	}
	public Student(Integer id, String name, String sex, Integer age, Integer clazzId, Integer dataFlag, Clazz clazz) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.clazzId = clazzId;
		this.dataFlag = dataFlag;
		this.clazz = clazz;
	}
	public Clazz getClazz() {
		return clazz;
	}
	public void setClazz(Clazz clazz) {
		this.clazz = clazz;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getClazzId() {
		return clazzId;
	}
	public void setClazzId(Integer clazzId) {
		this.clazzId = clazzId;
	}
	public Integer getDataFlag() {
		return dataFlag;
	}
	public void setDataFlag(Integer dataFlag) {
		this.dataFlag = dataFlag;
	}
	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Student(Integer id, String name, String sex, Integer age, Integer clazzId, Integer dataFlag) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.clazzId = clazzId;
		this.dataFlag = dataFlag;
	}
	public Student(String name, String sex, Integer age, Integer clazzId, Integer dataFlag) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.clazzId = clazzId;
		this.dataFlag = dataFlag;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", sex=" + sex + ", age=" + age + ", clazzId=" + clazzId
				+ ", dataFlag=" + dataFlag + ", clazz=" + clazz + "]";
	}
	
}
